#include "student.h"

QString Student::getName() const
{
    return name;
}

void Student::setName(const QString &value)
{
    name = value;
}

int Student::getAge() const
{
    return age;
}

void Student::setAge(int value)
{
    age = value;
}

QString Student::getAddr() const
{
    return addr;
}

void Student::setAddr(const QString &value)
{
    addr = value;
}

QString Student::getNum() const
{
    return num;
}

void Student::setNum(const QString &value)
{
    num = value;
}

Student::Student()
{

}

Student::Student(QString num, QString name, int age, QString addr)
{
    this->num = num;
    this->name = name;
    this->age = age;
    this->addr = addr;
}


